IF exists(SELECT * FROM dbo.sysobjects WHERE name='WEB_emailgroepen' AND xtype='P') 
BEGIN
	DROP PROCEDURE WEB_emailgroepen
END
GO

create procedure WEB_emailgroepen
as
set nocount on
execute gemini.hmailserver.dbo.emailgroepen